package drinkkiosk.cards;

import serialtool.SerialTool;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JPanel;

/**ConfirmationCard is shown after a TableNumber is entered on SendCard
 * It displays a message on the screen requesting the Patron
 * to press the Big Red Button below the screen to submit their Drink order.
 * @author Charles Ritchea
 */
public class ConfirmationCard extends JPanel {
	/** Creates new form Card */
	public ConfirmationCard(){
		initComponents();
                
                
                
        }

	/** This method is called from within the constructor to
	 * initialize the form.
	 * WARNING: Do NOT modify this code. The content of this method is
	 * always regenerated by the Form Editor.
	 */
	@SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLayeredPane = new javax.swing.JLayeredPane();
        jTextPane1 = new javax.swing.JTextPane();
        backgroundImage = new javax.swing.JLabel();

        jTextPane1.setBackground(new java.awt.Color(204, 255, 255));
        jTextPane1.setEditable(false);
        jTextPane1.setFont(new java.awt.Font("Tahoma", 0, 48)); // NOI18N
        jTextPane1.setText("Thank you for using Interactive Solutions' Drink Kiosk. To confirm your order, please press the Big Red Button below the display.");
        jTextPane1.setBounds(30, 140, 740, 250);
        jLayeredPane.add(jTextPane1, javax.swing.JLayeredPane.DEFAULT_LAYER);

        backgroundImage.setIcon(new javax.swing.ImageIcon(getClass().getResource("/drinkkiosk/Welcome.png"))); // NOI18N
        backgroundImage.setBounds(0, 0, 800, 560);
        jLayeredPane.add(backgroundImage, javax.swing.JLayeredPane.DEFAULT_LAYER);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 800, Short.MAX_VALUE)
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(jLayeredPane, javax.swing.GroupLayout.DEFAULT_SIZE, 800, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 555, Short.MAX_VALUE)
            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addComponent(jLayeredPane, javax.swing.GroupLayout.DEFAULT_SIZE, 555, Short.MAX_VALUE))
        );
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel backgroundImage;
    private javax.swing.JLayeredPane jLayeredPane;
    private javax.swing.JTextPane jTextPane1;
    // End of variables declaration//GEN-END:variables
}
